<TITLE>Short Tutorial for Beginners of DeleGate</TITLE>
<BODY>
<H2>DeleGate$@=i?4<T8~$1<j0z$-4JN,HG(J</H2>

<A HREF="http://www.delegate.org/delegate/tutorial/tutorial-jp.html">$@$3$l(J</A>
$@$O$4$/<jC;$+$J(J<A HREF="http://www.delegate.org/delegate/">DeleGate</A>
$@$N=i?4<T8~$1<j0z$-$G$9!#>\$7$/$O%j%U%!%l%s%9%^%K%e%"%k(J
<A HREF="ftp://www.delegate.org/pub/DeleGate/Manual.htm">Manual.htm</A>$@$H(J
<A HREF="http://www.delegate.org/delegate/">$@4XO"%I%-%e%a%s%H(J</A>$@$r(J
$@;2>H$7$F2<$5$$!#(J

<H2>$@:G>.8B$3$l$@$1$OCN$C$H$-$?$$(J</H2>

a. DeleGate$@$r(JHTTP$@MQ%W%m%-%7$H$7$F(J8080$@HV%]!<%H$G;HMQ$9$k$K$O0J2<$N$h$&$K$7$^$9(J:
<PRE>
    delegated -P8080 SERVER=http
</PRE>
$@$3$3$G!"(J-Pxxxx $@$O%/%i%$%"%s%H$+$i$NMW5a$r<u$1IU$1$k%]!<%HHV9f$r!"(J
SERVER=yyyy $@$O%/%i%$%"%s%H$HDL?.$9$k$?$a$N%W%m%H%3%kL>$r;XDj$7$F$$$^$9!#(J
<P>
b. $@%-%c%C%7%e$NM-8z4|8B$dJ]B84|8B$O!"(JEXPIRE $@$*$h$S(J CRON $@%Q%i%a%?$G@)8f$G$-$^$9(J:
<PRE>
    EXPIRE=1d CRON="0 * * * * -expire 2d"
</PRE>
c. DeleGate $@$O0EL[E*$K!"(JDeleGate $@$N%[%9%H$HF10l$N%M%C%H%o!<%/$+$i$N%"%/%;%9(J
$@$N$_$r<uM}$7$^$9!#0J2<$N$h$&$K(JPERMIT$@%Q%i%a%?$G!"5v2D$9$Y$-%[%9%H$d%M%C%H(J
$@%o!<%/!"%I%a%$%s$rL@<(E*$K;XDj$G$-$^$9(J:
<PRE>
    PERMIT="*:*:host1,123.123.123.123/255.255.255.0,*.my.domain,!bad.my.domain"
</PRE>

<H2>$@$A$g$C$H>\$7$/CN$C$H$-$?$$(J</H2>
01. $@%G%P%C%0%b!<%I$G<B9T$9$k(J ($@%U%)%"%0%i%&%s%I$G<B9T(J,$@%m%0$r%3%s%=!<%k$K=PNO(J):
<PRE>
    delegated -v ...
</PRE>
02. 8080$@HV%]!<%H$GF0:n$7$F$$$k(JDeleGate$@%5!<%P$r=*N;$5$;$k(J:
<PRE>
    delegated -P8080 -Fkill
</PRE>
03. $@@_Dj%Q%i%a%?$r;XDj$7$?(JURL$@$+$i%m!<%I$7$F;HMQ$9$k(J:
<PRE>
    delegated +=http://server/path/of/parameters.txt
</PRE>
04. $@%/%i%$%"%s%H$+$i$NMW5a$r<uM}$9$k%M%C%H%o!<%/%$%s%?!<%U%'%$%9$r8BDj$9$k(J:
<PRE>
    delegated -Phostname:8080 SERVER=http
</PRE>
05. $@%[%9%HL>(J/IP$@%"%I%l%9$N8!:w$KMQ$$$k%l%>%k%P$N;n9T=g=x$r@)8f$9$k(J:
<PRE>
    RESOLV=dns,nis,file
</PRE>
06. $@%5%$%H30$N%5!<%P$K$O!"(JSocks$@%5!<%P7PM3$G@\B3$9$k(J:
<PRE>
    CONNECT="cache,socks:*:!*.my.domain" SOCKS=sockshost
</PRE>
07. $@A4$F$NMW5a$rB>$N%W%m%-%7$KE>Aw$9$k(J:
<PRE>
    PROXY="proxyHost:8080:*"
</PRE>
08. $@FCDj$NL\E*%5!<%P8~$1$NMW5a$@$1B>$N%W%m%-%7$KE>Aw$9$k(J:
<PRE>
    PROXY="proxyHost:8080:!*.my.domain,!*.near.domain"
</PRE>
09. $@G$0U$N(JTCP$@%W%m%H%3%k$rFCDj$N%5!<%P$XCf7Q$9$k(J:
<PRE>
    SERVER=tcprelay://serverName:portNumber/
</PRE>
10. $@G$0U$N(JTCP$@%W%m%H%3%k$K$h$kDL?.$rB>$N(JDeleGate$@$KE>Aw$9$k(J:
<PRE>
    MASTER="delegateHost:8080:*"
</PRE>
11. $@G$0U$N(JUDP$@%W%m%H%3%k$rFCDj$N%5!<%P$XCf7Q$9$k(J:
<PRE>
    SERVER=udprelay://serverName:portNumber/
</PRE>
12. DeleGate$@$NL\E*%5!<%P$r8GDj$7!"(JDeleGate$@$r85%5!<%P$H$7$F%/%i%$%"%s%H$K8+$;$k(J:
<PRE>
    delegated -P80 SERVER=http://httpserver/
</PRE>
13. $@%/%i%$%"%s%H$KCf7Q$9$k%K%e!<%9%0%k!<%W$r8BDj$9$k(J:
<PRE>
    delegated -P8119 SERVER=nntp://nntpserver/comp,misc,news
</PRE>
14. $@J#?t$N%5!<%P$rJ;9g$7$F2>A[E*$K0l$D$N%5!<%P$H$7$F%/%i%$%"%s%H$KDs6!$9$k(J:
<PRE>
    SERVER=nntp MOUNT="= nntp://serv1/comp" MOUNT="= nntp://serv2/misc,news"
</PRE>
15. HTTP$@%/%i%$%"%s%H$r(JNNTP$@%5!<%P$K%"%/%;%9$5$;$k%2!<%H%&%'%$(J:
<PRE>
    SERVER=http MOUNT="/news1/* nntp://ns1/*" MOUNT="/news2/* nntp://ns2/*"
</PRE>
16. DeleGate$@$r(JHTTP$@$N85%5!<%P$H$7$F;HMQ$9$k(J:
<PRE>
    -P80 SERVER=http MOUNT="/* /usr/local/www/*" REMITTABLE=file
</PRE>
17. $@$3$N(JDeleGate$@7PM3$GE~C#2DG=$JL\E*%[%9%H(J/$@%M%C%H(J/$@%I%a%$%s$r@)8B$9$k(J:
<PRE>
    PERMIT="*:*.reachable.domain:*"
</PRE>
<HR>
<I><A HREF="http://www.etl.go.jp/~ysato/">Yutaka Sato</A>
&lt;ysato AT delegate DOT org&gt;</I>
</BODY>
